function revert(){
    history.go(-1)
}
function editor(){
    location.href='../NewAssets/NewAssets.html'
}

// 更多操作
var _MoreActions=document.querySelector('.MoreActions')
function SelectAction(item){
    if(item==1){
        _MoreActions.style.display='block' 
    }else if(item==2){
        _MoreActions.style.display='none' 
    }
}
//确认删除
var _Determine=document.querySelector('.DetermineContent')
function Successfully(){
if(_Determine.style.display='none'){
    _Determine.style.display='block'
    _MoreActions.style.display='none' 
}
}
var _SuccessfullyDeleted=document.querySelector('.SuccessfullyDeleted')
 function ConfirmCancellation(item){
    if(item==1){
    _Determine.style.display='none'
    }else if(item==2){
    _Determine.style.display='none'
    _SuccessfullyDeleted.style.display='block'
    var tiem=setTimeout(function(){
        location.href='../InventoryDetails/InventoryDetails.html'
    },3000)
    }
 }
